package com.fowo.api.user.service;

import com.fowo.api.common.model.R;
import com.fowo.api.user.model.JwtUserInfo;
import com.fowo.api.user.model.LoginAccount;
import com.fowo.api.user.model.LoginResult;

/**
 * 登录服务
 */
public interface LoginService {

    LoginResult loginByAccount(LoginAccount loginAccount);

    LoginResult loginByCaptcha(LoginAccount loginAccount);

    LoginResult renewToken(JwtUserInfo jwtUserInfo);

    R createCaptcha(String phone);
}
